<template>
  <div>
    <h2>我是Home的内容</h2>
    <div>
      <!-- 导航区 -->
      <ul class="nav nav-tabs">
        <li>
          <router-link 
						active-class="active" 
						class="list-group-item" 
						:to="{name:'xinwen'}"
					>News</router-link>
        </li>
        <li>
          <router-link 
						active-class="active" 
						class="list-group-item" 
						:to="{name:'xiaoxi'}"
					>Message</router-link>
        </li>
      </ul>
      <!-- 展示区 -->
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  name: "Home",
  mounted() {
    // console.log("Home挂载了", this);
  },
};
</script>